<?php if (!defined('SHUIPF_VERSION')) exit(); ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "/www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="/www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

	<title>结算 - <if condition=" isset($SEO['title']) && !empty($SEO['title']) ">{$SEO['title']}</if>{$SEO['site_title']}</title>
	<meta name="description" content="{$SEO['description']}" />
	<meta name="keywords" content="{$SEO['keyword']}" />

	<link href="favicon.ico" rel="shortcut icon" />
	<link rel="canonical" href="{$config_siteurl}" />
	<link href="{$config_siteurl}statics/nhjhouse/css/styles.css" rel="stylesheet" type="text/css" />
	<link href="{$config_siteurl}statics/nhjhouse/css/lightbox2.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="{$config_siteurl}statics/nhjhouse/js/jquery.min.js"></script>
	<script type="text/javascript" src="{$config_siteurl}statics/nhjhouse/js/jquery.validate.pack.js"></script>
	<script type="text/javascript" src="{$config_siteurl}statics/nhjhouse/js/jquery.lightbox.js"></script>
</head>
<body>
	<template file="Contents/header.php"/>
<div id="box">

	<div class="mainbox clearfix">
		<div class="maininfo lf">
			<div class="box-top2"></div>
			<div class="sect">
				<div style="color:red;font-size:16px;margin-left:15px">您已下单成功，请核对信息...</div>
				<h1 class="title2" style="margin-bottom:5px;">订单详情</h1>
				<table class="dataTab carttable" width="100%">
					<tr>
						<td align="left" width="100"><b>订单号：</b></td>
						<td align="left">
							<font color="red">{$order.ordersn}</font>
						</td>
					</tr>
					<tr>
						<td align="left" width="100"> <b>购买数量：</b>
						</td>
						<td align="left">
							{$order.num}
						</td>
					</tr>
					<tr>
						<td align="left" width="100"> <b>应付总额：</b>
						</td>
						<td align="left">
							￥{$order.price}
						</td>
					</tr>
					<tr>
						<td align="left" width="100"> <b>用户名：</b>
						</td>
						<td align="left">
							{$uname}
						</td>
					</tr>
					<tr>
						<td align="left" width="100"> <b>姓名：</b>
						</td>
						<td align="left">
							{$order.truename}
						</td>
					</tr>
					<tr>
						<td align="left" width="100"> <b>手机：</b>
						</td>
						<td align="left">
							{$order.phone}
						</td>
					</tr>
					<tr>
						<td align="left" width="100"> <b>附言：</b>
						</td>
						<td align="left">
							{$order.remark}
						</td>
					</tr>
				</table>

				<h1 class="title2" style="margin-bottom:20px;">商品信息</h1>
					<table class="dataTab carttable" width="100%">
						<tr>
							<td align="left" width="100">
								<b>标题：</b>
							</td>
							<td align="left">
								{$goods.title}
							</td>
						</tr>
						<tr>
							<td align="left" width="100">
								<b>现价：</b>
							</td>
							<td align="left">
								￥{$goods.nowprice}
							</td>
						</tr>
						<tr>
							<td align="left" width="100">
								<b>原价：</b>
							</td>
							<td align="left">
								￥{$goods.oldprice}
							</td>
						</tr>
						<tr>
							<td align="left" width="100">
								<b>开始时间：</b>
							</td>
							<td align="left">
								{$goods.starttime}
							</td>
						</tr>
						<tr>
							<td align="left" width="100">
								<b>结束时间：</b>
							</td>
							<td align="left">
								{$goods.endtime}
							</td>
						</tr>
					<tr>
						<td></td>
						<td align="right">
							<form action="{:U('Buy/Pay/doPay')}" method="post" target="_self">
								<input type="hidden" name="orderid" value="{$order.id}"/>
								<input type="hidden" name="ordersn" value="{$order.ordersn}"/>
								<input type="hidden" name="price" value="{$order.price}"/>
								<input type="hidden" name="phone" value="{$order.phone}"/>
								<input type="hidden" name="truename" value="{$order.truename}"/>
								<input type="hidden" name="title" value="{$goods.title}"/>
								<input type="submit" class="but" value="确认无误付款" />
							</form>
							
						</td>
					</tr>
				</table>
		</div>

		<div class="box-bottom2"></div>
	</div>

	<div class="sidebox rf">
		<div class="sideblock side-flow">
			<div class="sbox-top"></div>
			<div class="sidemain">
				<h1 class="title2">账户余额</h1>
				<p>
					您的帐户余额：
					<span>¥{$User.amount}</span>
				</p>
			</div>
			<div class="sbox-bottom"></div>
		</div>

	</div>

</div>

</div>
<div class="wrap">
<template file="Contents/footer.php"/>
</div>
</body>
</html>